package com.easy.dao;

import com.easy.bean.Orderaddress;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderaddressDao {
    int addOrderaddress(@Param("orderaddress") Orderaddress orderaddress);
    int editOrderaddress(@Param("orderaddress") Orderaddress orderaddress);
    int deleteOrderaddress(@Param("id") int orderid);
    List<Orderaddress> selectOrderaddress(@Param("page") Page page, @Param("text") String text);
    Orderaddress getOrderaddressById(@Param("id") int orderid);
    int OrderaddressCount(@Param("text") String text);
}
